package com.pkdl.dto;

import java.util.Date;

// Data transfer object which is associated with ChiTietBenhAn table in database
public class ChiTietBenhAnDTO {

	private int maCTBA;
	private int maBenhAn;
	private Date ngayKham;
	private String tinhTrang;

	public ChiTietBenhAnDTO() {
		this.maCTBA = 0;
		this.maBenhAn = 0;
		this.ngayKham = new Date();
		this.tinhTrang = "";
	}

	public ChiTietBenhAnDTO(int mactba, int mabenhan, Date ngaykham,
			String tinhtrang) {
		this.maCTBA = mactba;
		this.maBenhAn = mabenhan;
		this.ngayKham = ngaykham;
		this.tinhTrang = tinhtrang;
	}

	public int getMaBenhAn() {
		return this.maBenhAn;
	}

	public int getMaCTBA() {
		return this.maCTBA;
	}

	public Date getNgayKham() {
		return this.ngayKham;
	}

	public String getTinhTrang() {
		return this.tinhTrang;
	}

	public void setMaBenhAn(int maBenhAn) {
		this.maBenhAn = maBenhAn;
	}

	public void setMaCTBA(int maCTBA) {
		this.maCTBA = maCTBA;
	}

	public void setNgayKham(Date ngayKham) {
		this.ngayKham = ngayKham;
	}

	public void setTinhTrang(String tinhTrang) {
		this.tinhTrang = tinhTrang;
	}

}
